package com.example.demo.dao;

import com.example.demo.entity.SysUser;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: Administrator
 * @Date: 2019/3/27
 * @Description:
 */
@Repository
public interface SysUserDao extends JpaRepository<SysUser,Integer> {
    /**
     * 查询用户信息
     * @Author: zengzr
     * @Date: 2019/3/27
     * @param userName
     * @return SysUser
     */
    SysUser findSysUserByUserName(String userName);
}
